package com.eapi.project.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 点赞记录表
 * @TableName paybill
 */
@TableName(value ="paybill")
@Data
public class Paybill implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 订单id
     */
    private String orderId;

    /**
     * 调用接口用户id
     */
    private Long userId;

    /**
     * 用户名称
     */
    private String username;

    /**
     * 充值金额
     */
    private double payamount;

    /**
     * 支付状态(0-未支付, 1-已支付)
     */
    private Integer status;

    /**
     * 支付时间
     */
    private Date createtime;

    /**
     * 是否删除(0-未删, 1-已删)
     */
    private Integer isdelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}